<layout name="Layout/PetHead"/>
<style>
    .goods{
        border: 1px solid #9d9d9d;
        overflow: auto;
        width:210px;
        float: left;
        margin-left: 20px;
        margin-top:10px;
        color:black;
        height:260px;
    }
    .photo{
        margin-top:5px;
        text-align: center;
    }
    .information{
        text-align: center;
    }
    .content{
        width:962px;
         margin-top: 20px;
     }
    span{
        font-size: 13px;
        color:black;
    }
    .fenlei{
        width:100%;
       float: right;
      text-align: right;
        padding: 20px 35px 0px;
    }
</style>
<div class="content">
    <div class="fenlei">
        <form id="search_form" method="post" action="__APP__/home/pet/market">
            <input type="hidden" name="submit" value="OK"/>
            <strong><span>选取分类:</span></strong>
        <select name="cate">
            <?php foreach($Cate_List as $k => $v){?>
                <option value="<?php echo $v['id']?>"><?php echo $v['name']?></option>
            <?php }?>
        </select>
        <input type="text" name="search" placeholder="商品名"/>
       <!-- <a id="tijiao" href="javascript:void(0);"><img src="__PUBLIC__/img/Pet/search.jpg"/></a>-->
            <input type="submit" value="查询"/>
            </form>
    </div>
<?php foreach($note_List as $k => $val){?>
    <div class="goods">
    <div class="photo">
     <img src="__PUBLIC__/function/upload/<?php echo $val['photo']?>" alt="" style="width:200px;height: 150px;">
        </div>
    <div class="information">
    <span><strong><?php echo $val['title']?></strong></span><br/>

   <span><strong> 联系电话：</strong></span><?php echo $val['phone']?><br/>
   <span><strong> 价   格：</strong></span>面议<br/>
    <span><strong>介绍: </strong></span><?php echo $val['content']?><br/>
    </div>
   </div>
<?php }?>
<script type="text/javascript">

        /*$("#tijiao").click(function(){
           $("#search_form").submit();
        });*/


    $(".sf-menu>li:eq(4)").addClass("current");
    $(".sf-menu>li:eq(1)").removeClass("current");
</script>